<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>案件管理</title>
  <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
  <link th:href="@{/assets/css/amazeui.css}"rel="stylesheet"type="text/css">
  <link th:href="@{/assets/css/core.css}"rel="stylesheet"type="text/css">
  <link th:href="@{/assets/css/menu.css}"rel="stylesheet"type="text/css">
  <link th:href="@{/assets/css/index.css}"rel="stylesheet"type="text/css">
  <link th:href="@{/assets/css/admin.css}"rel="stylesheet"type="text/css">
  <link th:href="@{/assets/css/page/typography.css}"rel="stylesheet"type="text/css">
  <link th:href="@{/assets/css/page/form.css}"rel="stylesheet"type="text/css">
  <link th:href="@{/assets/css/component.css}"rel="stylesheet"type="text/css">
</head>
<body>
<!-- Begin page -->
<header class="am-topbar am-topbar-fixed-top">
  <div class="am-topbar-left am-hide-sm-only">
    <a href="../index.html" class="logo"><span>执法人员<span>端</span></span><i class="zmdi zmdi-layers"></i></a>
  </div>

  <div class="contain">
    <ul class="am-nav am-navbar-nav am-navbar-left">

      <li><h4 class="page-title">案件管理</h4></li>
    </ul>


  </div>
</header>
<!-- end page -->


<div class="admin">

  <div class="admin-sidebar am-offcanvas  am-padding-0" id="admin-offcanvas">
    <div class="am-offcanvas-bar admin-offcanvas-bar">
      <!-- User -->
      <div class="user-box am-hide-sm-only">
        <div class="user-img">
           <li th:each="workers:${workers}">
           <img th:src="${workers.wimg}" alt="user-img" title="Mat Helme" class="img-circle img-thumbnail img-responsive">
             <div class="user-status offline"><i class="am-icon-dot-circle-o" aria-hidden="true"></i></div></li>

        </div>
        <h5><a href="#">用户名</a> </h5>
      </div>
      <!-- End User -->

      <ul class="am-list admin-sidebar-list">
        <li><a th:href="@{/worker/homePage}" class="am-cf"><span class="am-icon-home"></span> 首页 </a></li>
        <li><a th:href="@{/worker/info}" class="am-cf"><span class="am-icon-archive"></span> 个人信息 </a></li>

        <li class="admin-parent">
          <a class="am-cf" data-am-collapse="{target: '#collapse-nav1'}"><span class="am-icon-table"></span> 案件 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav1">
            <!--<li><a th:href="@{/worker/table_basic}" class="am-cf"> 基本表格</span></a></li>-->
            <li><a th:href="@{/worker/handlecase}">案件管理</a></li>
          </ul>
        </li>
        <!--<li class="admin-parent">-->
        <!--<a class="am-cf" data-am-collapse="{target: '#collapse-nav2'}"><i class="am-icon-line-chart" aria-hidden="true"></i> 统计图表 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>-->
        <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav2">-->
        <!--<li><a th:href="@{/worker/chart_line}" class="am-cf"> 折线图</span></a></li>-->
        <!--<li><a th:href="@{/worker/chart_columnar}" class="am-cf"> 柱状图</span></a></li>-->
        <!--<li><a th:href="@{/worker/chart_pie}" class="am-cf"> 饼状图</span></a></li>-->
        <!--</ul>-->
        <!--</li>-->
        <li class="admin-parent">
          <a class="am-cf" data-am-collapse="{target: '#collapse-nav3'}"><span class="am-icon-table"></span> 个人信息管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav3">
            <li><a th:href="@{/worker/change_selfinfo}" class="am-cf"> 修改个人信息</span></a></li>

          </ul>
        </li>

      </ul>
    </div>
  </div>
  <!-- sidebar end -->

  <!--</div>
</div>
</div>-->
  <!-- ========== Left Sidebar end ========== -->



  <!--	<div class="am-g">-->
  <!-- ============================================================== -->
  <!-- Start right Content here -->
  <div class="content-page">
    <!-- Start content -->
    <div class="content">
      <div class="card-box">
        <div class="am-g">
          <div class="am-u-sm-12">
            <form class="from">
              <fieldset>
              <table class="am-table am-table-striped am-table-hover table-main">
                <thead>
                <tr>
                  <th class="table-id">案件ID</th>
                  <th class="table-title">案件内容简介</th>
                  <th class="table-type">案件地点</th>
                  <th class="table-author am-hide-sm-only">案件发生时间</th>
                </tr>
                </thead>
                <tbody th:each="cases:${cases}">

                <tr>
                  <td th:text="${cases.cid}"></td>
                  <td th:text="${cases.cdescribe}"></td>
                  <td th:text="${cases.clocation}"></td>
                  <td th:text="${cases.ctime}"></td>
                </tr>
                </tbody>
              </table>
              </fieldset>
            </form>
          </div>
          <div class="am-u-sm-11">
            <form class="am-form" action="/worker/solveCase" method="post" data-am-validator>
              <fieldset>
                <div class="am-form-group">
                  <label >事件ID</label>
                  <input type="text" id="doc-vld-name-3"name="ID" placeholder="输入事件ID" required/>
                </div>
                <div class="upload">
                  <p>上传截图</p><div><input type="file" id="cimg" name="cimg"style="opacity: 100%"></div>
                </div>
                <div class="am-form-group">
                  <label >处理结果</label>
                  <input type="text" id="doc-vld-name-1"name="crescult" placeholder="输入事件处理结果" required/>
                </div>
                <button class="am-btn am-btn-secondary" type="submit">提交</button>
              </fieldset>
            </form>
          </div>


        <!-- Row end -->

      </div>




    </div>


  </div>
</div>
<!-- end right Content here -->
<!--</div>-->
</div>
</div>

<!-- navbar -->
<a href="admin-offcanvas" class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"><!--<i class="fa fa-bars" aria-hidden="true"></i>--></a>

<script th:src="@{/assets/js/jquery-2.1.0.js}" type="text/javascript"></script>
<script th:src="@{/assets/js/amazeui.min.js}" type="text/javascript"></script>
<script th:src="@{/assets/js/app.js}" type="text/javascript"></script>
<script th:src="@{/assets/js/blockUI.js}" type="text/javascript"></script>
<script th:src="@{/assets/js/charts/echarts.min.js}" type="text/javascript"></script>
<script th:src="@{/assets/js/charts/indexChart.js}" type="text/javascript"></script>


</body>

</html>
